using UnityEngine;
using UnityEngine.Audio;

public class AudioLib : MonoSingleton<AudioLib>
{
    public AudioClip[] g_BubblePop;
    public AudioClip[] g_BGM;

    public AudioClip s_Fail;

    public AudioClip RandAudioClip(AudioClip[] clips)
    {
        if (clips == null || clips.Length == 0) return null;
        int randomIndex = UnityEngine.Random.Range(0, clips.Length);
        return clips[randomIndex];
    }
}
